@extends('public.auth')
@section('title') @parent 登录  @stop
@section('description') @parent oneblog @stop
@section('keywords') oneblog @stop

@section('afterStyle')
    <link rel="stylesheet" href="{{asset('/assets/css/login.css')}}" >
@stop


@section('body')
    <div class="container">
      {{ Form::open(array('class' => 'form-signin', 'role' => 'form')) }}
        <h2 class="form-signin-heading">Sign in</h2>
        <input type="text" class="form-control" placeholder="你的账号" required autofocus name="username" title="">
        <input type="password" class="form-control" placeholder="你得密码" required name="password" title="">
        <label class="checkbox">
            <input type="checkbox" name="remember-me" value="1"> 记住我
            <a href="#" style="float:right;">忘记密码 &gt;&gt;</a>
        </label>
        <div class="alert alert-warning alert-dismissable {{ $errors->first('attempt')?'':'hidden'; }}">
            <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
            <strong>{{ $errors->first('attempt') }}</strong>
        </div>
        <button class="btn btn-info" type="submit">登入</button>
        <button class="btn btn-info" type="reset">重置</button>
      {{ Form::close() }}
    </div>
@stop
